package com.base.model;

/**
 * 业务码值
 *
 * @author cjq on 20190722
 */
public enum BizCode {
    BizCode_000000("000000", "交易成功"),
    BizCode_000001("000001", "账号或密码有误"),
    BizCode_999999("999999", "交易失败");

    private BizCode(String code, String message) {
        this.code = code;
        this.message = message;
    }

    /**
     * 编码
     */
    public String code;
    /**
     * 信息
     */
    public String message;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
